/*
 * @Descripttion:
 * @version:
 * @Author: congsir
 * @Date: 2024-01-31 20:30:13
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2024-01-31 20:34:09
 */
import React from "react";
import { Navigate } from "react-router-dom";
import Home from "../views/home";
import About from "../views/about";
const routes = [
  {
    path: "/",
    element: <Navigate to="/home" />,
  },
  {
    path: "/home",
    element: <Home />,
  },
  {
    path: "/about",
    element: <About />,
  },
];
export default routes;
